﻿// <copyright file="CongressMemberRole.cs" company="Microsoft Corporation">
// Copyright (c) 2009 Microsoft Corporation All Rights Reserved
// </copyright>
// <author>Michael S. Scherotter</author>
// <email>mischero@microsoft.com</email>
// <date>2009-05-21</date>
// <summary>CongressMemberRole class definition</summary>

namespace NYTimes.Data
{
    using System;
    using System.Collections.Generic;

    /// <summary>
    /// US Congress Member Role
    /// </summary>
    public class CongressMemberRole
    {
        /// <summary>
        /// Gets or sets the congress number
        /// </summary>
        public int Congress { get; set; }

        /// <summary>
        /// Gets or sets the chamber (House or Senate)
        /// </summary>
        public string Chamber { get; set; }

        /// <summary>
        /// Gets or sets the congressional district for house members
        /// </summary>
        public int? District { get; set; }

        /// <summary>
        /// Gets or sets the title
        /// </summary>
        public string Title { get; set; }

        /// <summary>
        /// Gets or sets the 2-letter state abbreviation
        /// </summary>
        public string State { get; set; }

        /// <summary>
        /// Gets or sets the party
        /// </summary>
        public string Party { get; set; }

        /// <summary>
        /// Gets or sets the start date
        /// </summary>
        public DateTime StartDate { get; set; }

        /// <summary>
        /// Gets or sets the end date
        /// </summary>
        public DateTime EndDate { get; set; }

        /// <summary>
        /// Gets or sets the missed vote percentage
        /// </summary>
        public float? MissedVotePercent { get; set; }

        /// <summary>
        /// Gets or sets the votes with party percentage
        /// </summary>
        public float? VotesWithPartyPercent { get; set; }

        /// <summary>
        /// Gets or sets the committee memberships
        /// </summary>
        public IEnumerable<Committee> Committees { get; set; }
    }
}
